package com.midou.administration.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.midou.administration.bo.AppointmentBo;
import com.midou.administration.entity.Appointment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppointmentMapper {
   int queryAdd(@Param("apoin")Appointment appointment);

   List<AppointmentBo> querySelect(@Param("page")Page page, @Param("id")Integer id);

   int queryDelete(@Param("phone")String phone);
}